projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37725fe
)
avltree: Fix search key handling.
author
oliskoli
<oliskoli>
Wed, 2 Apr 2008 21:18:50 +0000
(21:18 +0000)
committer
oliskoli
<oliskoli>
Wed, 2 Apr 2008 21:18:50 +0000
(21:18 +0000)
avltree.c
patch
|
blob
|
history
diff --git
a/avltree.c
b/avltree.c
index ca242be585c6db6c4a25c0e909fe180da3caf810..c90c5680fbd46345009039114b5ef68dca3c2e03 100644
(file)
--- a/
avltree.c
+++ b/
avltree.c
@@
-700,9
+700,9
@@
avltree_save_key(avltree_t *tree, const char *key)
if (key == NULL) {
if (tree->key_sz) {
xfree((char *)tree->key);
- tree->key = NULL;
tree->key_sz = 0;
}
+ tree->key = NULL;
}
else {
int n, n8;